import Vue from 'vue'
import App from './App.vue'
// 全局重置样式
import '@/styles/reset.less'

import Vant from 'vant';
import 'vant/lib/index.css';

Vue.use(Vant);

import router from '@/router'

// 引入vant组件css样式
import 'vant/lib/index.css';

// 按需导入组件
import { Switch, Image, Stepper, Button, Checkbox, CheckboxGroup } from 'vant';
Vue.use(Switch)
  .use(Image)
  .use(Stepper)
  .use(Button)
  .use(Checkbox)
  .use(CheckboxGroup)

Vue.config.productionTip = false


new Vue({
  router,
  render: h => h(App),
}).$mount('#app')
